﻿using Farming.Application.Traceabilities.Dtos;
using Farming.Domain.Entities;
using Microsoft.AspNetCore.Http;

namespace Farming.Application.Traceabilities
{
    public interface ITraceabilityDataService
    {
        Task<int> AddTraceability(Traceability traceability);
        Task<int> DelTraceabilitity(int id);
        Task<Traceability> GetTasInfo(int id);
        Task<IList<Traceability>> GetTraceabilities();
        Task<int> UpdTraceabilitity(UpdTasDto tas);
        Task<string> Upload(IFormFile file);
        Task<string> UploadFile(IFormFile file);
    }
}